/**
 * 路由索引文件
 * 用于集中管理所有路由
 */
const express = require('express')
const userRoutes = require('./userRoutes')
const categoryRoutes = require('./categoryRoutes')
const billRoutes = require('./billRoutes')
const accountRoutes = require('./accountRoutes')

const router = express.Router()

// 用户相关路由
router.use('/', userRoutes)

// 分类相关路由
router.use('/', categoryRoutes)

// 账单相关路由
router.use('/', billRoutes)

// 账户相关路由
router.use('/', accountRoutes)

module.exports = router
